const { list } = require('./mock')

module.exports = app => {
	app.get('/api/list', (req, res) => {
		res.send({
			code: 200,
			data: list
		})
	})
}